package cn.stylefeng.guns.modular.fruits.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.fruits.entity.FruitsOrderPut;
import cn.stylefeng.guns.modular.fruits.model.params.FruitsOrderPutParam;
import cn.stylefeng.guns.modular.fruits.model.result.FruitsOrderPutResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 采摘入库管理 服务类
 */
public interface FruitsOrderPutService extends IService<FruitsOrderPut> {

    /**
     * 新增
     */
    void add(FruitsOrderPutParam param);

    /**
     * 删除
     */
    void delete(FruitsOrderPutParam param);

    /**
     * 更新
     */
    void update(FruitsOrderPutParam param);

    /**
     * 查询单条数据，Specification模式
     */
    FruitsOrderPutResult findBySpec(FruitsOrderPutParam param);

    /**
     * 查询列表，Specification模式
     */
    List<FruitsOrderPutResult> findListBySpec(FruitsOrderPutParam param);

    /**
     * 查询分页数据，Specification模式
     */
     LayuiPageInfo findPageBySpec(FruitsOrderPutParam param,String condition,Long operateId);

 	LayuiPageInfo findAnalysisPageBySpec(FruitsOrderPutParam param, String condition,Long operateId);

	LayuiPageInfo findAnalysisPageBySpecApplets(FruitsOrderPutParam param,Long operateId);

 	LayuiPageInfo findWorkertaskPageBySpec(FruitsOrderPutParam param, String condition,Long operateId);

	int countBydate(FruitsOrderPutParam to,Long operateId);

	LayuiPageInfo findJiagongcangPagelist(FruitsOrderPutParam param,Long operateId);

	LayuiPageInfo findzhifacangPagelist(FruitsOrderPutParam param,Long operateId);

}
